<!--SIF Implementation Specification 2.2-6 (March 17, 2008)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.sifinfo.org/infrastructure/2.x" xmlns:sif="http://www.sifinfo.org/infrastructure/2.x" elementFormDefault="qualified">
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="imports/xml/xml.xsd" />
  <xs:complexType name="FoodserviceMenuPlanType">
    <xs:annotation>
      <xs:documentation>This object communicates the foodservice menu plan for a school site for a given meal program, grade level range and date.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SchoolInfoRefId" type="sif:IdRefType">
        <xs:annotation>
          <xs:documentation>GUID that identifies the school for this menu plan</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GradeLevels" type="sif:GradeLevelsType" />
      <xs:element name="MenuPlanDate" type="xs:date">
        <xs:annotation>
          <xs:documentation>Date of menu plan</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Program" type="sif:ProgramType" />
      <xs:element name="Description" minOccurs="0" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:documentation>Description of menu plan</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProjectedParticipation" type="xs:string">
        <xs:annotation>
          <xs:documentation>Feeding figure projected</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MenuPlanQuantities">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="MenuPlanQuantity" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Quantity of item in this menu plan</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:decimal">
                    <xs:attribute name="FoodserviceItemPortionRefId" use="required" type="sif:IdRefType">
                      <xs:annotation>
                        <xs:documentation>Item portion amount</xs:documentation>
                      </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="MenuCategory" use="required">
                      <xs:simpleType>
                        <xs:restriction base="xs:token">
                          <xs:enumeration value="ActualMeal" />
                          <xs:enumeration value="ProjectedMeal" />
                          <xs:enumeration value="ActualAlaCarte" />
                          <xs:enumeration value="ProjectedAlaCarte" />
                          <xs:enumeration value="Produced" />
                          <xs:enumeration value="LeftOver" />
                          <xs:enumeration value="Wasted" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="SIF_Metadata" minOccurs="0" nillable="true" type="sif:SIF_MetadataType" />
      <xs:element name="SIF_ExtendedElements" minOccurs="0" nillable="true" type="sif:SIF_ExtendedElementsType" />
    </xs:sequence>
    <xs:attribute name="RefId" use="required" type="sif:RefIdType">
      <xs:annotation>
        <xs:documentation>GUID that identifies this menu plan</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>

  <xs:element name="FoodserviceMenuPlan" type="sif:FoodserviceMenuPlanType" />

</xs:schema>